﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using Point = System.Drawing.Point;

namespace Common.Entities
{
    public enum FighterState
    {
        Walking,
        Fighting,
        Dying,
        Standing
    }
    public class FightEntity
    {
        public int HP;
        public int Type;
        public Point Position;
        public Rectangle BoundingRect;
        public int MaxHealth;
        public FighterState State = FighterState.Standing;
        public bool PlayerOwned;
        public int Damage;


        public FightEntity(int type, int hp, Point position, Rectangle bounds)
        {
            HP = MaxHealth = hp;
            Type = type;
            Position = position;
            BoundingRect = bounds;
            if (type == 0)
            {
                Damage = 1;
            }
            else if (type == 1)
            {
                Damage = 3;
            }
        }
    }
}
